package com.learnyou.server.xingzuo.dto.resultDTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class StudentResultDTO {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "机构id")
    private String orgId;

    @ApiModelProperty(value = "学生姓名")
    private String studentName;

    @ApiModelProperty(value = "学号")
    private String studentCode;

    @ApiModelProperty(value = "性别")
    private String studentGender;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出生年月日")
    private Date studentBirthday;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "课程数量")
    private Integer scheduleNum = 0;
    @ApiModelProperty(value = "已完成数量")
    private Integer endScheduleNum = 0;
    @ApiModelProperty(value = "监护人数量")
    private Integer guardianNum = 0;
    @ApiModelProperty(value = "已绑定数量")
    private Integer bindGuardianNum = 0;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private Date startDate;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "完成日期")
    private Date endDate;

    @ApiModelProperty("课次列表")
    private List<SimpleCourseScheduleDTO> courseScheduleList;

    @ApiModelProperty("家长列表")
    private List<SimpleGuardianDTO> guardianList;
}
